/*
 * > /*
>  * INSANE - Interactive Structural Analysis Environment
>  *
>  * Copyright (C) 2003-2004
>  * Universidade Federal de Minas Gerais
>  * Escola de Engenharia
>  * Departamento de Engenharia de Estruturas
>  *
>  * Author's email :     insane@dees.ufmg.br
>  * Author's Website :   http://www.dees.ufmg.br/insane
>  *
>  * This program is free software; you can redistribute it and/or
>  * modify it under the terms of the GNU General Public License
>  * as published by the Free Software Foundation; either version 2
>  * of the License, or any later version.
>  *
>  * This program is distributed in the hope that it will be useful,
>  * but WITHOUT ANY WARRANTY; without even the implied warranty of
>  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>  * GNU General Public License for more details.
>  *
>  * You should have received a copy of the GNU General Public License
>  * along with this program; if not, write to the Free Software
>  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-
> 1307, USA.
 *
 */

package br.ufmg.dees.insane.model.postp;

import java.io.Serializable;

/**
 * The class represents a Boundary, that is composed of many PointModels 
 * @author Samuel Silva Penna
 * @since 13/06/2006
 */
public class Boundary implements Serializable{

	/**   */
	private static final long serialVersionUID = 1L;
	/** The label of this PointModel */
	private String label;
	/** The labels of the boundary points */
	private String[] pointsLabels; 
	
	/**
	 * The method return the label.
	 * @return Returns The label.
	 */
	public String getLabel() {
		return this.label;
	}

	/**
	 * The method set the field Label from the parameter label.
	 * @param label The label to set.
	 */
	public void setLabel(String label) {
		this.label = label;
	}
	
	/** 
	 * The constructor Default
	 */
	public Boundary(){
		
	}
	
	/** The constructor
	 *  Constructs the Boundary from the parameter points.
	 * @param points The points that compose the boundary
	 */
	public Boundary(String[] pointsLabels){
		this.pointsLabels = pointsLabels;
	}

	/**
	 * The method return the pointsLabels.
	 * @return Returns The pointsLabels.
	 */
	public String[] getPointsLabels() {
		return pointsLabels;
	}

	/**
	 * The method set the field pointsLabels from the parameter pointsLabels.
	 * @param pointsLabels The pointsLabels to set.
	 */
	public void setPointsLabels(String[] pointsLabels) {
		this.pointsLabels = pointsLabels;
	}
	
}//end of this class
